(setq package-archives '(("gnu"   . "http://mirrors.tuna.tsinghua.edu.cn/elpa/gnu/")
			 ("melpa" . "http://mirrors.tuna.tsinghua.edu.cn/elpa/melpa/")))
(package-initialize) ;; You might already have this line

(global-linum-mode t)
(global-hl-line-mode t)

(if (eq system-type 'darwin) (setq exec-path (cons "/usr/local/bin" exec-path)))

(load-theme 'vscode-dark-plus t)

;;波浪号文件统一放到一个文件夹下
(setq backup-directory-alist '(("." . "~/.emacs_backup"))
  backup-by-copying t    ; Don't delink hardlinks
  version-control t      ; Use version numbers on backups
  delete-old-versions t  ; Automatically delete excess backups
  kept-new-versions 20   ; how many of the newest versions to keep
  kept-old-versions 5    ; and how many of the old
  )

;; you can move between windows with the 【Shift+→】/ 【Shift+←】/ 【Shift+↓】 / 【Shift+↑】 key sequences
(windmove-default-keybindings)

(global-set-key (quote [M-down]) (quote scroll-up-line)) (global-set-key (quote [M-up]) (quote scroll-down-line)) 

(provide 'raw-init)
